package models

type LtCode struct {
	Id         int    `gorm:"primaryKey"`
	GiftId     int    `gorm:"not null; default:0; type:int(10); comment:奖品id，关联lt_gift表"`
	Code       string `gorm:"not null; default:''; type:varchar(255); comment:虚拟券编码"`
	SysCreated int    `gorm:"not null; default:0; comment:创建时间; type:int(10)"`
	SysUpdated int    `gorm:"not null; default:0; comment:修改时间; type:int(10)"`
	SysStatus  int    `gorm:"not null; default:0; type:smallint(5); comment:状态, 0正常, 1作废, 2发放"`
}
